//
//  YAYIDateCell.h
//  YAYIDoctor
//
//  Created by hxp on 16/5/18.
//  Copyright © 2016年 hxp. All rights reserved.
//

#import <UIKit/UIKit.h>

@class YAYIDateModel;


@interface YAYIDateItemView : UIView

@end


@protocol YAYIDateControllerDelegate <NSObject>

@optional
/**
 *  单元格点击
 */
- (void)dateCellItemViewDidClickedWithIndex:(NSInteger)index indexPath:(NSIndexPath *)indexPath;

@end

@interface YAYIDateCell : UITableViewCell

@property (nonatomic,strong) NSMutableArray *modelArray;
@property (nonatomic,strong) YAYIDateModel *model;
@property (nonatomic,strong) NSIndexPath *indexPath;

@property (nonatomic, weak) id<YAYIDateControllerDelegate> delegate;

- (void)selectItemViewAt:(NSInteger)index isSelected:(BOOL)isSelected;
+ (instancetype)cellWith:(UITableView *)tablevie;

@end
